package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 健康档案
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
@TableName("picc_archive")
public class Archive implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    /**
     * 关系 父母 子女 亲属 朋友 夫妻
     */
    private String relationship;

    /**
     * 真实姓名
     */
    private String realName;

    private String photo;

    private String birth;

    private String sex;

    private String email;

    private String phone;

    private String aboBloodType;

    private String rhBloodType;

    private String pastDisease;

    private String pastOperation;

    private String pastInfectiousDisease;

    private String pastBloodTransfusion;

    private String pastVaccines;

    private String personalOccupation;

    private String personalSmoke;

    private String personalDrink;

    private String familyDisease;

    private String marriage;

    private String childbirth;

    private String allergyFood;

    private String allergyMedicine;

    private String allergyContact;

    private String mensesFirstYear;

    private String mensesLastDate;

    private String mensesCycle;

    private String mensesDayNum;

    private BigDecimal weight;

    private BigDecimal height;

    private String bloodPressureTime;

    private Integer bloodPressureHigh;

    private Integer bloodPressureLow;

    private Integer bloodPressurePulse;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

       @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAboBloodType() {
        return aboBloodType;
    }

    public void setAboBloodType(String aboBloodType) {
        this.aboBloodType = aboBloodType;
    }

    public String getRhBloodType() {
        return rhBloodType;
    }

    public void setRhBloodType(String rhBloodType) {
        this.rhBloodType = rhBloodType;
    }

    public String getPastDisease() {
        return pastDisease;
    }

    public void setPastDisease(String pastDisease) {
        this.pastDisease = pastDisease;
    }

    public String getPastOperation() {
        return pastOperation;
    }

    public void setPastOperation(String pastOperation) {
        this.pastOperation = pastOperation;
    }

    public String getPastInfectiousDisease() {
        return pastInfectiousDisease;
    }

    public void setPastInfectiousDisease(String pastInfectiousDisease) {
        this.pastInfectiousDisease = pastInfectiousDisease;
    }

    public String getPastBloodTransfusion() {
        return pastBloodTransfusion;
    }

    public void setPastBloodTransfusion(String pastBloodTransfusion) {
        this.pastBloodTransfusion = pastBloodTransfusion;
    }

    public String getPastVaccines() {
        return pastVaccines;
    }

    public void setPastVaccines(String pastVaccines) {
        this.pastVaccines = pastVaccines;
    }

    public String getPersonalOccupation() {
        return personalOccupation;
    }

    public void setPersonalOccupation(String personalOccupation) {
        this.personalOccupation = personalOccupation;
    }

    public String getPersonalSmoke() {
        return personalSmoke;
    }

    public void setPersonalSmoke(String personalSmoke) {
        this.personalSmoke = personalSmoke;
    }

    public String getPersonalDrink() {
        return personalDrink;
    }

    public void setPersonalDrink(String personalDrink) {
        this.personalDrink = personalDrink;
    }

    public String getFamilyDisease() {
        return familyDisease;
    }

    public void setFamilyDisease(String familyDisease) {
        this.familyDisease = familyDisease;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getChildbirth() {
        return childbirth;
    }

    public void setChildbirth(String childbirth) {
        this.childbirth = childbirth;
    }

    public String getAllergyFood() {
        return allergyFood;
    }

    public void setAllergyFood(String allergyFood) {
        this.allergyFood = allergyFood;
    }

    public String getAllergyMedicine() {
        return allergyMedicine;
    }

    public void setAllergyMedicine(String allergyMedicine) {
        this.allergyMedicine = allergyMedicine;
    }

    public String getAllergyContact() {
        return allergyContact;
    }

    public void setAllergyContact(String allergyContact) {
        this.allergyContact = allergyContact;
    }

    public String getMensesFirstYear() {
        return mensesFirstYear;
    }

    public void setMensesFirstYear(String mensesFirstYear) {
        this.mensesFirstYear = mensesFirstYear;
    }

    public String getMensesLastDate() {
        return mensesLastDate;
    }

    public void setMensesLastDate(String mensesLastDate) {
        this.mensesLastDate = mensesLastDate;
    }

    public String getMensesCycle() {
        return mensesCycle;
    }

    public void setMensesCycle(String mensesCycle) {
        this.mensesCycle = mensesCycle;
    }

    public String getMensesDayNum() {
        return mensesDayNum;
    }

    public void setMensesDayNum(String mensesDayNum) {
        this.mensesDayNum = mensesDayNum;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public String getBloodPressureTime() {
        return bloodPressureTime;
    }

    public void setBloodPressureTime(String bloodPressureTime) {
        this.bloodPressureTime = bloodPressureTime;
    }

    public Integer getBloodPressureHigh() {
        return bloodPressureHigh;
    }

    public void setBloodPressureHigh(Integer bloodPressureHigh) {
        this.bloodPressureHigh = bloodPressureHigh;
    }

    public Integer getBloodPressureLow() {
        return bloodPressureLow;
    }

    public void setBloodPressureLow(Integer bloodPressureLow) {
        this.bloodPressureLow = bloodPressureLow;
    }

    public Integer getBloodPressurePulse() {
        return bloodPressurePulse;
    }

    public void setBloodPressurePulse(Integer bloodPressurePulse) {
        this.bloodPressurePulse = bloodPressurePulse;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Archive{" +
                "id = " + id +
                ", username = " + username +
                ", relationship = " + relationship +
                ", realName = " + realName +
                ", photo = " + photo +
                ", birth = " + birth +
                ", sex = " + sex +
                ", email = " + email +
                ", phone = " + phone +
                ", aboBloodType = " + aboBloodType +
                ", rhBloodType = " + rhBloodType +
                ", pastDisease = " + pastDisease +
                ", pastOperation = " + pastOperation +
                ", pastInfectiousDisease = " + pastInfectiousDisease +
                ", pastBloodTransfusion = " + pastBloodTransfusion +
                ", pastVaccines = " + pastVaccines +
                ", personalOccupation = " + personalOccupation +
                ", personalSmoke = " + personalSmoke +
                ", personalDrink = " + personalDrink +
                ", familyDisease = " + familyDisease +
                ", marriage = " + marriage +
                ", childbirth = " + childbirth +
                ", allergyFood = " + allergyFood +
                ", allergyMedicine = " + allergyMedicine +
                ", allergyContact = " + allergyContact +
                ", mensesFirstYear = " + mensesFirstYear +
                ", mensesLastDate = " + mensesLastDate +
                ", mensesCycle = " + mensesCycle +
                ", mensesDayNum = " + mensesDayNum +
                ", weight = " + weight +
                ", height = " + height +
                ", bloodPressureTime = " + bloodPressureTime +
                ", bloodPressureHigh = " + bloodPressureHigh +
                ", bloodPressureLow = " + bloodPressureLow +
                ", bloodPressurePulse = " + bloodPressurePulse +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                "}";
    }
}
